package com.jun.admin.core.model;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
* @author yuejun.li
* @since 2024-10-20
*/
@Data
@Accessors(chain = true)
@Table(name = "admin_wesocket_log")
@ApiModel(value = "AdminWesocketLog对象", description = "")
public class AdminWesocketLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @Id
    private Integer id;

    @ApiModelProperty("消息")
    @Column(name = "message")
    private String message;

    @ApiModelProperty("是否已推送")
    @Column(name = "is_pull")
    private Integer isPull;

    @ApiModelProperty("用户id")
    @Column(name = "user_id")
    private String userId;


    public static final String ID = "id";

    public static final String MESSAGE = "message";

    public static final String IS_PULL = "isPull";

    public static final String USER_ID = "userId";
}
